package com.fxu.jushuitan.dto.purchase;

import com.fxu.jushuitan.dto.PageReq;
import lombok.Getter;
import lombok.Setter;

import java.util.List;

/**
 * 采购退货请求
 * @author fangxu
 * @since 2023-09-18
 **/
@Getter
@Setter
public class PurchaseOutQueryReq extends PageReq {

    /**
     * 指定线上订单号，和时间段不能同时为空
     */
    private List<String> soIds;

    /**
     * 单据状态，Confirmed=生效，WaitConfirm待审核，Creating=草拟，Archive=归档，Cancelled=作废
     */
    private String status;

    public PurchaseOutQueryReq(Integer pageIndex, List<String> soIds, String status) {
        super(pageIndex);
        this.soIds = soIds;
        this.status = status;
    }
}
